const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  auditStatus: state => state.user.auditStatus,
  userInfo: state => state.user.userInfo,
  businessInfo: state => state.user.businessInfo,
  businessId: state => state.user.businessId,
  businessLat: state => state.user.businessLat,
  businessLng: state => state.user.businessLng,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  openId: state => state.user.openId,
  unionId: state => state.user.unionId,
  wxCode: state => state.user.wxCode,
  wxUserInfo: state => state.user.wxUserInfo,
  accessToken: state => state.user.accessToken,
  permission_routes: state => state.permission.routes,
  routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs
}
export default getters
